package com.runjian.rundo.iot.agent.business.publisher;

import com.runjian.rundo.iot.agent.common.message.DeviceMessage;

/**
 * 设备消息发送到IoT平台端的发送器
 *
 * @author LiGang
 */
public interface DeviceMessagePublisher {

    /**
     * 发送设备消息到IoT平台
     *
     * @param deviceMessage DeviceMessage
     * @return 是否发送成功
     */
    boolean publish(DeviceMessage deviceMessage);
}
